<div class="row">
    <div class="twelve columns">
        <center><h2>SIGN IN TO ITBUY</h2></center>
    </div>
</div>

<div class="row">
    <div class="ten columns centered">
        <form name="loginForm" ng-controller="UserSigninController" ng-submit="submit()" novalidate>
            <div class="row">
                <div class="five columns centered">
                    <input type="text" name="username_email" id="username_email" ng-model="obj.username_email" ng-class="{error: loginForm.username_email.$invalid}" required placeholder="Username or Email">
                    <small ng-show="loginForm.username_email.$error.required" class="error">Required</small>
                </div>
            </div>
            <div class="row">
                <div class="five columns centered">
                    <input type="password" name="password" id="password" ng-model="obj.password" ng-class="{error: loginForm.password.$invalid}" required placeholder="Password">
                    <small ng-show="loginForm.password.$error.required" class="error">Required</small>
                </div>
            </div>
            <div class="row">
                <div class="five columns centered">
                    <label for="remember_me"><input type="checkbox" id="remember_me" ng-model="obj.remember_me"> Remember Me</label>
                </div>
            </div>
            <div class="row">
                <div class="five columns centered">
                    <input type="submit" name="submit" id="submit" value="Submit" class="button right">
                </div>
            </div>
        </form>
    </div>
</div>